package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {
    //新增检查项
    public void add(CheckItem checkItem);
    //查询检查项
    public PageResult findPage(QueryPageBean queryPageBean);
    //根据id删除检查项
    public void delete(int id);
    //根据id查询检查项
    public CheckItem findById(Integer id);
    //更新检查项
    public void edit(CheckItem checkItem);
    //查询所有的检查项
    public List<CheckItem> findAll();
}
